<template>
	<view class="mark" @click="colseModel()">
		<view style="display: flex; width: 749rpx;margin: 0 auto;flex-direction: column;" class="model" @click.stop="">
			<slot />
		</view>
	</view>
</template>

<script>
	export default {
		props: {
			title: {
				type: String,
				default: ''
			}
		},
		methods:{
			colseModel() {
				this.$emit('colseModel')
			}
		}
	}
</script>

<style lang="scss">
	.mark{
		width: 100%;
		height: 100vh;
		background-color: rgba($color: #000, $alpha: 0.2);
		position: fixed;
		z-index: 98;
		top: 0;
		left: 0;
		display: flex;
		align-items: center;
		.model{
			margin: 0 auto;
			background-color: #fff;
			z-index: 99;
			padding: 40rpx;
			border-radius: 25rpx;
			width: 85%;;
			.tite{
				text-align: center;
				font-size: 30rpx;
				line-height: 80rpx;
			}
		}
	}
</style>
